package com.financial.service.platbalancepay.controller;

import com.financial.service.platbalancepay.service.BalanceRefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * describe:
 *
 * @author zhaopengjun
 * @date 2019/9/1 18:47
 */
@RestController
@RequestMapping("/balanceRefund")
public class BalanceRefundController {
    @Autowired
    BalanceRefundService balanceRefundService;
    @PostMapping("/refund")
    public Map<String, Object> refund(@RequestParam Map<String,Object> requestMap){

        return balanceRefundService.refund(requestMap);
    }

}
